﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business.Entity
{
    public class Resim
    {
        public int ResimID { get; set; }
        public int IlanID { get; set; }
        public string ServerFileName { get; set; }

        public Resim()
        {

        }
        public Resim(int pIlanID, string pServerFileName)
        {
            IlanID = pIlanID;
            ServerFileName = pServerFileName;
        }

        public Resim(int pResimID, int pIlanID, string pServerFileName)
        {
            ResimID = pResimID;
            IlanID = pIlanID;
            ServerFileName = pServerFileName;

        }

        public override string ToString()
        {
            return ServerFileName;
        }
    }
}
